package service;

import entity.Student;

import java.util.List;

public interface StudentService {
    Student login(String stuId,String password) throws Exception;
    List<Student> getAllStudent() throws Exception;
    Student getStudentById(String stuId) throws Exception;
    int addStudent(Student student) throws Exception;
    int updateStudent(Student student) throws Exception;
    int deleteStudentById(String stuId) throws Exception;
}
